package com.buydeem.bridge;

/**
 * 客户端调用代码
 *
 * @author zengchao
 * @date 2022-05-05 12:03:03
 */
public class App {
    public static void main(String[] args) {
        //FileWriter fileWriter = new ExcelWriter();
        //FileWriter fileWriter = new TextWriter();
        FileWriter fileWriter = new JsonWriter();
        //Exporter exporter = new RedisExporter(fileWriter);
        Exporter exporter = new MongoDBExporter(fileWriter);
        exporter.export();
    }
}
